import { lazy } from "react";
import { createBrowserRouter, Navigate } from 'react-router-dom';
const Exhibition = lazy(() => import("../page/Exhibition/index"));
const Layout = lazy(() => import("../page/Layout/index"));
export const RouterList = createBrowserRouter([
  {
    path: "/",
    element: <Navigate to="/Layout" />,
  },
  {
    path: "/Layout",
    element: <Layout />,
  },
  {
    path: "/exhibition",
    element: <Exhibition />,
  },
]);